package com.ruibang.glass.produce.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @Author: songJinKang
 * @CreateTime: 2024-01-31  16:09
 * @Description: TODO:A型架更换日志实体
 * @Version: 1.0
 */

@Data
@ApiModel
@TableName("sl_a_rack_change_log")
@JsonIgnoreProperties({"downTime", "upTime", "createTime", "createTimeFormat"})
public class RackChangeLog {
    @ApiModelProperty("主键ID")
    @TableId("_id")
    private String id;
    @ApiModelProperty("A型架ID（托盘号）")
    private String rackId;
    @ApiModelProperty("批次号")
    private String rackUseBatch;
    @ApiModelProperty("port口")
    private String port;
    @ApiModelProperty("生产记录id")
    private String productionLineCode;
    @ApiModelProperty("生产工位信息id")
    private String stationId;
    @ApiModelProperty("上架时间")
    @TableField("upTime")
    private Long upTime;
    @ApiModelProperty("下架时间")
    @TableField("downTime")
    private Long downTime;
    @ApiModelProperty("创建时间")
    private Long createTime;
    @ApiModelProperty("上架时间")
    @TableField("upTime_format")
    private String upTimeFormat;
    @ApiModelProperty("下架时间")
    @TableField("downTime_format")
    private String downTimeFormat;
    @ApiModelProperty("创建时间")
    private String createTimeFormat;
    @ApiModelProperty("port口")
    private String tag;
    @ApiModelProperty("上架数量")
    @TableField("upNum")
    private Integer upNum;
    @ApiModelProperty("下架数量")
    @TableField("downNum")
    private Integer downNum;
    @ApiModelProperty("品质")
    private String pz;
    @ApiModelProperty("长")
    private Double glassLength;
    @ApiModelProperty("宽")
    private String glassWidth;
    @ApiModelProperty("厚")
    private String glassThicknessAvg;
    @ApiModelProperty("供应商ID")
    private String supplierId;
}
